<template>
	<view class="scroll">
		<scroll-view class="list-scroll" scroll-y enable-flex>
			<view class="in-list-scroll">
				<slot></slot>
			</view>
		</scroll-view>
	</view>
</template>

<script>
	export default {
		name:"list-scroll",
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss">
	.scroll {
		flex: 1;
		overflow: hidden;
		box-sizing: border-box;
		.list-scroll {
			height: 100%;
			display: flex;
			flex-direction: column;
			// .in-list-scroll {
			// 	width: 100%;
			// 	white-space:pre-line;
			// 	display:block;
			// }
		}
	}
</style>
